package com.puppet.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.math.BigDecimal;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @TableName employee
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("employee")
public class Employee {
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField("name")
    private String name;

    private String sex;

    private String depart;
    @TableField(select = false)
    private Double salary;
    @TableLogic(delval = "1",value = "0")
    @TableField(select = false)
    private Integer deleted;

    @TableField(exist = false)
    private List<Integer> count;
}